/*
 * SDLEventHandler.h
 *
 *  Created on: Jun 22, 2010
 *      Author: Ry
 */

#ifndef SDLEVENTHANDLER_H_
#define SDLEVENTHANDLER_H_

#include <SDL/SDL_events.h>
#include "EventHandler.h"

class SDLEventHandler: public EventHandler {
protected:
	SDL_Event event;
public:
	SDLEventHandler();
	virtual void handleEvent(float dts) = 0;
	virtual ~SDLEventHandler();

	SDL_Event getEvent() const {
		return event;
	}

	void setEvent(SDL_Event event) {
		this->event = event;
	}

};

#endif /* SDLEVENTHANDLER_H_ */
